package com.hp.dao;

import com.hp.entity.Link;

import java.util.List;

public interface LinkDao {
    public List<Link> findAll() throws  Exception;

    /**
     * 修改
     * @param link
     * @throws Exception
     */
    public void update(Link link)throws Exception;

    /**
     * 修改
     * @param id
     * @return
     * @throws Exception
     */
    public Link findByIdLink(String id)throws Exception;

}
